package com.magic.zhixin.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

@Data
@Entity
public class UserQuestionAnswerDetail extends BaseEntity {
    private Long userQuestionAnswerId;
    @ApiModelProperty("回答问题ID")
    private Long questionId;
    @Column(columnDefinition = "text")
    @ApiModelProperty("问题名称")
    private String questionName;
    @ApiModelProperty("答案id")
    private Long answerId;
    @ApiModelProperty("答案内容")
    @Column(columnDefinition = "text")
    private String answerContent;
    @ApiModelProperty("是否正确")
    private Boolean flag;
}
